package com.corn.turtorial.consumer.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author : Jim Wu
 * @version 1.0
 * @function :
 * @since : 2021/5/14 11:33
 */

@FeignClient(contextId = "spring-provider", name = "spring-provider")
public interface ProviderInterface {

    @GetMapping("/provider")
    String getProvider();
}
